package de.hsb.ai.devil.domain.action;

import jade.content.AgentAction;
import jade.core.AID;
import de.hsb.ai.devil.domain.GameInfo;

/**
 * StartGame action bean, represents the {@code start-game} action. 
 */
public class StartGame implements AgentAction, GameInfo {
	
	private static final long serialVersionUID = -5164530896653224876L;
	
	private int total;
	private AID playerA;
	private AID playerB;
	
	/* (non-Javadoc)
	 * @see de.hsb.ai.devil.domain.action.GameInfo#getTotal()
	 */
	@Override
	public int getTotal() {
		return total;
	}
	
	/* (non-Javadoc)
	 * @see de.hsb.ai.devil.domain.action.GameInfo#setTotal(int)
	 */
	@Override
	public void setTotal(int total) {
		this.total = total;
	}
	
	/* (non-Javadoc)
	 * @see de.hsb.ai.devil.domain.action.GameInfo#getPlayerA()
	 */
	@Override
	public AID getPlayerA() {
		return playerA;
	}
	
	public void setPlayerA(AID playerA) {
		this.playerA = playerA;
	}
	
	/* (non-Javadoc)
	 * @see de.hsb.ai.devil.domain.action.GameInfo#getPlayerB()
	 */
	@Override
	public AID getPlayerB() {
		return playerB;
	}
	
	public void setPlayerB(AID playerB) {
		this.playerB = playerB;
	}

}
